<template>
  <xhh-select
    v-model="value"
    :options="options"
    class="test-xhh"
    size="default"
    :option-map="optionMap"
    @change="handleChange"
  />
</template>
<script lang="ts" setup>
import { ref } from 'vue'

const value = ref('')
const options = [
  {
    label: ' label1',
    value: ' value1',
  },
  {
    label: ' label2',
    value: ' value2',
  },
]
const optionMap = {
  label: 'label',
  value: 'value',
}
function handleChange(...args) {
  console.log('handleChange', ...args)
}
</script>
